-
Home
-
ElasticPress
-
3.5.6
-
Code
-
Classes
- QueryIntegration
| Total Complexity |
54 |
| Dependencies |
2 |
| Dependents |
1 |
| Total lines |
480 |
| Lines of code |
201 |
| Logical lines of code |
123 |
| Comment lines |
214 |
| Methods |
10 |
| Properties |
1 |
Methods 10
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| get_es_posts() |
B |
36 |
19 |
74 |
| format_hits_as_posts() |
A |
42 |
10 |
55 |
| maybe_switch_to_blog() |
S |
57 |
5 |
16 |
| add_es_header() |
S |
61 |
5 |
12 |
| found_posts() |
S |
68 |
5 |
6 |
| maybe_restore_blog() |
S |
67 |
3 |
9 |
| __construct() |
S |
62 |
2 |
10 |
| format_hits_as_ids() |
S |
71 |
2 |
6 |
| format_hits_as_id_parents() |
S |
64 |
2 |
10 |
| get_switched() |
S |
82 |
1 |
3 |